package com.qf.service;

import com.qf.entity.Answers;
import com.qf.entity.Questions;

import java.util.List;

/**
 * @author lenovo
 * @version V1.0
 * @Date 2021/10/6 2:07
 */
public interface AnswersService {

    /**
     * 根据指定问题查找所有答案
     * @param questions
     * @return
     */
    List<Answers> findAllByQues(Questions questions);


    /**
     * 添加答案
     * @param answers
     */
    void add(Answers answers);
}
